@extends('layouts.app')

@section('content')
<article>
  <div class="l_box">
    <div class="about_me">
      <h2>关于我</h2>
      <ul>
        <i><img src="/templates/boke/images/5big.jpg"></i>
        <p><b>马睿</b>，一个80后草根女站长！09年入行。一直潜心研究web前端技术，一边工作一边积累经验，分享一些个人博客模板，以及SEO优化等心得。</p>
      </ul>
    </div>
    <div class="fenlei">
      <h2>文章分类</h2>
      <ul>
        @category(['pid' => 0])
        <li><a href="{{$v['url']}}">{{$v['cname']}}</a></li>
        @endcategory
      </ul>
    </div>

    <div class="search">
      <form action="/e/search/index.php" method="post" name="searchform" id="searchform">
        <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
        <input name="show" value="title" type="hidden">
        <input name="tempid" value="1" type="hidden">
        <input name="tbname" value="news" type="hidden">
        <input name="Submit" class="input_submit" value="搜索" type="submit">
      </form>
    </div>

    <div class="tuijian">
      <h2>推荐文章</h2>
      <ul>
        @article(['iscommend' => 1])
        <li><a href="{{$a['url']}}">{{$a['title']}}</a></li>
        @endarticle
      </ul>
    </div>

    <div class="tuijian">
      <h2>热门文章</h2>
      <ul>
        @article(['hot' => 1])
        <li><a href="{{$a['url']}}">{{$a['title']}}</a></li>
        @endarticle
      </ul>
    </div>
    <div class="guanzhu">
      <h2>关注我 么么哒</h2>
      <ul>
        <img src="/templates/boke/images/wx.jpg">
      </ul>
    </div>
  </div>
  <div class="r_box">
    @article
    <li><i><a href="/"><img src="{{$a['thumb']}}"></a></i>
      <h3><a href="{{$a['url']}}">{{$a['title']}}</a></h3>
      <p>{{$a['jieshao']}}</p>
    </li>
  @endarticle
    <div class="pagelist"><a class="allpage"><b>99</b></a>&nbsp;&nbsp;<a href="#" class="curPage">1</a>&nbsp;&nbsp;<a href="#" onclick="page(2)">2</a>&nbsp;&nbsp;<a href="#" onclick="page(3)">3</a>&nbsp;&nbsp;<a href="#" onclick="page(4)">4</a>&nbsp;&nbsp;<a href="#" onclick="page(5)">5</a>&nbsp;&nbsp;<a href="#" onclick="page(6)">6</a>&nbsp;&nbsp;<a href="#" onclick="page(7)">7</a>&nbsp;&nbsp;<a href="#" onclick="page(8)">8</a>&nbsp;&nbsp;<a href="#" onclick="page(9)">9</a>&nbsp;&nbsp;<a href="#" onclick="page(2)">下一页</a></div>
  </div>
</article>

@endsection